package jee.boot.module.file.attachment.service;

import jee.boot.common.basic.CrudService;
import jee.boot.module.file.attachment.dao.AttachmentMappingDao;
import jee.boot.entity.file.AttachmentMapping;
import org.springframework.stereotype.Service;

/**
 * 附件MappingService
 * 
 * @author zhilei.wang
 * @version 2018-01-25
 */
@Service
public class AttachmentMappingService extends CrudService<AttachmentMappingDao, AttachmentMapping> {
    public void deleteByBusinessId(AttachmentMapping entity) {
        dao.deleteByBusinessId(entity);
    }

}